package com.shop.dao;

import java.util.ArrayList;

import org.apache.ibatis.annotations.Param;

import com.shop.bean.Shop;
import com.shop.bean.User;

public interface AdminDao {

	public ArrayList<Shop> queryByStype(Integer stype);
	public ArrayList<Shop> queryByAddShop(Integer addshop);
	public ArrayList<User> queryByUtype(Integer utype);
	public Integer updateAddshop(Shop shop);
	public Integer updateStype(Shop shop);
	public Integer updateUtype(User user);
	public ArrayList<User> queryUserByUname(@Param("uname")String uname);
	public Integer updateAgainUtype(User user);
	public Integer updateAgainStype(Shop shop);
}
